/*
** init_args_ip.c for dayday in /home/dd/projs/dayday/srcs/client
** 
** Made by dd
** Login   <alletr_p@epitech.net>
** 
** Started on  Tue Jul 21 19:50:41 2009 dd
** Last update Tue Jul 21 23:30:58 2009 dd
*/

#include <assert.h>
#include <string.h>

#include "client.h"

int	init_args_ip(t_all *all, char *optarg)
{
  assert(all && optarg);
  all->network.ip = xstrdup(optarg);
  return (SUCCESS);
}
